package com.bang.itstack.day06.adapter.impl;


import com.bang.itstack.day06.adapter.OrderAdapterService;
import com.bang.itstack.day06.mq.OrderService;

public class InsideOrderService implements OrderAdapterService {

    private OrderService orderService = new OrderService();

    @Override
    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }

}
